package com.wangrui.service;

import com.wangrui.pojo.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 王锐
 * @since 2020-07-05
 */
public interface RoleService extends IService<Role> {

    List<Role> queryAllRolesById();

    Map<String, Object> queryAllRoles(int start, int end);

    int roleSave(Role role);

    int roleUpdate(Role role);

    int roleDelete(int ids);
}
